

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}









/*------------------------------- nav logo --------------------*/

.nav-logo{
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    top: 1.5rem;
    left: 1.5rem;
    }
    
    .logo-image {
    position: fixed;
    width: 200px;
    height: 25px;
    z-index: 10;
    }

/*----------------------------------end nav logo -----------------*/














/*----------------------------------- start type of matrimony grids ------------------------------*/

.matrimony-grid-title {
    text-align: center;
    letter-spacing: 3px;
    margin-top: 100px;
    font-size: 20px;
    text-transform: uppercase;
    
  }
  
  @media screen and (max-width: 1100px) {
    .matrimony-grid-title {
    font-size: 15px;
     }
  }
  
  @media screen and (max-width: 1000px) {
    .matrimony-grid-title {
    font-size: 14px;
     }
  }
  
  @media screen and (max-width: 900px) {
    .matrimony-grid-title {
    font-size: 13px;
     }
  }
  
  @media screen and (max-width: 800px) {
    .matrimony-grid-title {
    font-size: 12px;
     }
  }
  
  @media screen and (max-width: 600px) {
    .matrimony-grid-title {
    font-size: 10px;
     }
  }
  
  
  
  
 


  
  .matrimony-grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 25px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 100px;
}

.matrimony-grid-container > div {
  background-color: rgb(255, 255, 255);
  text-align: center;
  padding: 10px 5px;
  border-radius: 8px;
  cursor: pointer;
}







.matrimony-grid-container a {
  position: relative;
  display: flex;
  width: 100%;
  padding: 12px 12px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 25px;
  justify-content: center;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  text-transform: capitalize;
  color: #000000;
  background-color: rgb(139, 248, 6);
  border: none;
  transition: color .3s linear,
      box-shadow .3s linear,
      background-color .3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.matrimony-grid-container a:focus,
.matrimony-grid-container a:hover {
  box-shadow: 0 0 0px #ff0000;
  background-color: rgba(29, 0, 252, 0.105);
  color: #0400ff;
  font-weight: 500;
}

.matrimony-grid-container a:focus:before,
.matrimony-grid-container a:hover:before,
.matrimony-grid-container a:focus:after,
.matrimony-grid-container a:hover:after {
  width: 90%;
  left: 5%;
}

.matrimony-grid-container a:before,
.matrimony-grid-container a:after {
  content: '';
  position: absolute;
  pointer-events: none;
  left: 50%;
  width: 0%;
  height: 3px;
  background-color: #a445f8;
  transition: width, left, 2s cubic-bezier(0.25, .8, .25, 1);
}

.matrimony-grid-container a:before {
  top: -2px;
}

.matrimony-grid-container a:after {
  bottom: -2px;
}








@media only screen and (max-width: 1000px) {
  .matrimony-grid-container div a {
    font-size: 15px;
    font-weight: 100;
    padding-left: 2px;
    padding-right: 2px;
  }
}


@media only screen and (max-width: 900px) {
  .matrimony-grid-container div a {
    font-size: 14px;
    font-weight: 100;
    padding-left: 2px;
    padding-right: 2px;
  }
}
  

  
@media only screen and (max-width: 800px) {
  .matrimony-grid-container div a {
    font-size: 13px;
    font-weight: 100;
    padding-left: 2px;
    padding-right: 2px;
  }
}

  
  @media only screen and (max-width: 700px) {
    .matrimony-grid-container div a {
      font-size: 12px;
      font-weight: 100;
      padding-left: 2px;
      padding-right: 2px;
    }
  }
  
  @media only screen and (max-width: 600px) {
    .matrimony-grid-container div a {
      font-size: 11px;
      font-weight: 100;
      padding-left: 2px;
      padding-right: 2px;
    }
  }
  
  @media only screen and (max-width: 500px) {
    .matrimony-grid-container div a {
      font-size: 10px;
      font-weight: 100;
      padding-left: 2px;
      padding-right: 2px;
    }
  }
  
  @media only screen and (max-width: 400px) {
    .matrimony-grid-container div a {
      font-size: 9px;
      font-weight: 100;
      padding-left: 2px;
      padding-right: 2px;
    }
  }
  
  @media only screen and (max-width: 300px) {
    .matrimony-grid-container div a {
      font-size: 8px;
      font-weight: 100;
      padding-left: 2px;
      padding-right: 2px;
    }
  }
/*----------------------------------- end type of matrimony grids ------------------------------*/















/*------------------------------------ start matrimony  contact details ------------------------------------*/



/* ------ start contact title-----------------*/


.contact-title {
text-align: center;
letter-spacing: 3px;
margin-top: 290px;
font-size: 25px;
text-transform: capitalize;
width: 100%;
height: auto;
padding: 3px;
background-color: rgb(6, 17, 92);
color: #FCFCFC;
}

@media screen and (max-width: 1100px) {
.contact-title {
font-size: 15px;
 }
}

@media screen and (max-width: 1000px) {
.contact-title {
font-size: 14px;
 }
}

@media screen and (max-width: 900px) {
.contact-title {
font-size: 13px;
 }
}

@media screen and (max-width: 800px) {
.contact-title {
font-size: 12px;
 }
}

@media screen and (max-width: 600px) {
.contact-title {
font-size: 10px;
 }
}

/* ------ end contact title-----------------*/


.cont-back {
display: flex;
position: relative;
width: 100%;
height: auto;
background-color: rgb(0, 9, 70);
justify-content: center;
margin-bottom: 0px;
}

.resident {
position: relative;
display: inline-flex;
width: 280px;
height: auto;
margin: 20px;
font-size: 20px;
flex-direction: row;
color: #ffffff;
}
.resident img{
position: relative;
width: 40px;
height: 40px;
margin-right: 10px;
vertical-align: middle;
} 


.phone {
position: relative;
display: inline-flex;
width: 280px;
height: auto;
flex-direction: row;
margin-top: 50px;
margin-left: 15px;
}
.phone img {
position: relative;
width: 40px;
height: 40px;
margin-right: 5px;
vertical-align: middle;
}

.wp-no {
margin-top: 10px;
color: #FEFEFE;
font-size: 20px;
margin-left: 6px;
}

.email {
position: relative;
display: inline-flex;
width: 280px;
height: auto;
flex-direction: row;
align-content: center;
margin-top: 50px;
margin-left: 10px;
}
.email img {
position: relative;
width: 40px;
height: 40px;
margin-right: 5px;
vertical-align: middle;

}

.ad-email {
margin-top: 10px;
color: #FEFEFE;
font-size: 18px;
letter-spacing: 1px;
font-family: Arial, Helvetica, sans-serif;
}

.media {
 position: relative;
display: inline-table;
width: 280px;
height: auto;
margin: 20px;
flex-direction: row;
align-content: center;
justify-content: center;
margin-top: 50px;
}

.media a img {
margin: 5px;
vertical-align: middle;
}


@media screen and (max-width: 650px) {
.cont-back {
    flex-direction: column;
    height: auto;
}
}



@media screen and (max-width: 750px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
    font-size: 15px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 15px;
}
.ad-email {
    font-size: 15px;
}
}


@media screen and (max-width: 414px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 15px;
}
.ad-email {
    font-size: 15px;
}
}


@media screen and (max-width: 412px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 15px;
}
.ad-email {
    font-size: 15px;
}
}


@media screen and (max-width: 393px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 13px;
}
.ad-email {
    font-size: 13px;
}
}


@media screen and (max-width: 390px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 13px;
}
.ad-email {
    font-size: 13px;
}
}


@media screen and (max-width: 375px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 13px;
}
.ad-email {
    font-size: 13px;
}
}


@media screen and (max-width: 360px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 13px;
}
.ad-email {
    font-size: 13px;
}
}


@media screen and (max-width: 320px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 13px;
}
.ad-email {
    font-size: 13px;
}
}


@media screen and (max-width: 280px) {

 .resident {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.phone {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.email {
    width: auto;
    height: auto;
    margin-left: 10px;
}

.media {
    width: auto;
    height: auto;
    margin-bottom: 30px;
    margin-left: 10px;
}

.wp-no {
    font-size: 13px;
}
.ad-email {
    font-size: 13px;
}
}


/*------------------------------------ end matrimony contact details --------------------------------------*/




